package com.quanyan.comment.model.vo;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/6/1.
 */
public class TreeVo implements Serializable{

    private Integer id;

    private Integer parentId;

    private String name;

    private String url;


    public TreeVo() {
    }

    public TreeVo(Integer id, Integer parentId, String name, String url) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.url = url;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    @Override
    public String toString() {
        return "TreeVo{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
